<template>
  <div class="profile">
    <nav-bar class="nav-bar">
      <div slot="center">我的</div>
    </nav-bar>
    <user-info />
    <account-info />
    <normal-list-view :list-data="orderList" />
    <normal-list-view :list-data="serviceList" />
  </div>
</template>

<script>
import navBar from "components/common/navbar/navbar";
import userInfo from "./childComp/userInfo";
import accountInfo from "./childComp/accountInfo";
import normalListView from "./childComp/normalListView";
export default {
  name: "profile",
  data() {
    return {
      orderList: [
        { icon: "message.svg", info: "我的消息" },
        { icon: "pointer.svg", info: "积分商城" },
        { icon: "vip.svg", info: "会员卡" }
      ],
      serviceList: [
        { icon: "cart.svg", info: "我的购物车" },
        { icon: "shopping.svg", info: "下载购物APP" }
      ]
    };
  },
  components: {
    navBar,
    userInfo,
    accountInfo,
    normalListView
  }
};
</script>

<style lang="less" scoped>
.profile {
  background-color: #f2f2f2;
  .nav-bar {
    background-color: var(--color-tint);
    color: #fff;
  }
}
</style>